package com.ptc.ims.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.shared.HandlerManager;
import com.google.gwt.user.client.ui.RootPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class ProductInventory 
implements EntryPoint 
{
	/**
	 * This is the entry point method.
	 */
	public void onModuleLoad() 
	{
		InventoryServiceAsync inventoryService = GWT.create(InventoryService.class);
		HandlerManager eventBus = new HandlerManager(null);
		AppController controller = new AppController(eventBus, inventoryService);
		controller.go(RootPanel.get());
	}
}
